<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:67:"E:\WWW\fly_forum\public/../application/admin\view\Card\cateAdd.html";i:1520214433;s:55:"E:\WWW\fly_forum\application\admin\view\Card\index.html";i:1520410788;s:49:"E:\WWW\fly_forum\application\admin\view\base.html";i:1520214433;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title><?php echo $title; ?></title>
    <link rel="stylesheet" href="/fly_forum/public/static/layui/css/layui.css">
    <script src="/fly_forum/public/static/jq1.8.3.mini.js"></script>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo"><?php echo $title; ?></div>
        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item"><a href="<?php echo url('Index/index'); ?>">网站后台</a></li>
            <li class="layui-nav-item"><a href="<?php echo url('User/index'); ?>">用户中心</a></li>
            <li class="layui-nav-item"><a href="<?php echo url('Card/index'); ?>">帖子列表</a></li>
            <li class="layui-nav-item"><a href="<?php echo url('Conf/index'); ?>">系统设置</a></li>
            <!--<li class="layui-nav-item">-->
                <!--<a href="javascript:;">其它系统</a>-->
                <!--<dl class="layui-nav-child">-->
                    <!--<dd><a href="">邮件管理</a></dd>-->
                    <!--<dd><a href="">消息管理</a></dd>-->
                    <!--<dd><a href="">授权管理</a></dd>-->
                <!--</dl>-->
            <!--</li>-->
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item"><a href="<?php echo url('Index/Index/index'); ?>">网站首页</a></li>
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
                    <?php echo $admin['name']; ?>
                </a>
                <dl class="layui-nav-child">
                    <!-- <dd><a href="">基本资料</a></dd> -->
                    <dd><a href="<?php echo url('Conf/pwd'); ?>">修改密码</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a href="<?php echo url('Logindo/loginout'); ?>">退出</a></li>
        </ul>
    </div>

    
<div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
        <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
        <ul class="layui-nav layui-nav-tree"  lay-filter="test">
          <li class="layui-nav-item layui-nav-itemed">
                <a class="" href="javascript:;">分类管理</a>
                <dl class="layui-nav-child">
                    <dd><a href="<?php echo url('Card/cate'); ?>">查看分类</a></dd>
                    <dd><a href="<?php echo url('Card/cateAdd'); ?>">添加分类</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item layui-nav-itemed">
                <a class="" href="javascript:;">帖子管理</a>
                <dl class="layui-nav-child">
                    <dd><a class="" href="<?php echo url('Card/index'); ?>">帖子列表</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item layui-nav-itemed">
                <a class="" href="javascript:;">评论管理</a>
                <dl class="layui-nav-child">
                    <dd><a class="" href="<?php echo url('Card/evaluate'); ?>">评论列表</a></dd>
                </dl>
            </li>
        </ul>
    </div>
</div>


    
<div class="layui-body" style="margin-top: 20px;">
    <h1 style="margin-left: 50px;line-height: 50px">新增分类</h1>
      <form class="layui-form" action="<?php echo url('Card/cateAddDo'); ?>" method="post">
          <div class="layui-form-item">
              <label class="layui-form-label">分类名</label>
              <div class="layui-input-inline">
                  <input type="text" name="category_name"  lay-verify="required" autocomplete="off" class="layui-input"value="" >
              </div>
              <!--<div class="layui-form-mid layui-word-aux">辅助文字</div>-->
          </div>
          
          <div class="layui-form-item">
              <div class="layui-input-block">
                  <button class="layui-btn" lay-submit >立即提交</button>
                  <button type="reset" class="layui-btn layui-btn-primary">重置</button>
              </div>
          </div>
      </form>
  </div>


    <div class="layui-footer">
        <!-- 底部固定区域 -->
        © lay论坛
    </div>
</div>
<script src="/fly_forum/public/static/layui/layui.js"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function(){
        var element = layui.element;

    });
</script>
</body>
</html>